package cn.juque.systemservice.api.dto.dict;

import cn.juque.common.abstracts.AbstractRequestDTO;
import lombok.Data;

import javax.validation.constraints.Size;

/**
 * @author JUQUE
 * @version 1.0.0
 * <li></li>
 * @date 2022-10-27 10:54:47
 **/
@Data
public class DictInfoSearchDTO extends AbstractRequestDTO {

    /**
     * 代码类别
     */
    @Size(message = "代码类别不能超过{max}个字符", max = 32)
    private String dictType;

    /**
     * 名称
     */
    @Size(message = "名称不能超过{max}个字符", max = 100)
    private String dictName;

}
